home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / pbmreduce.1 < prev    next >
Text File  |  1995-07-25  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppbbbbmmmmrrrreeeedddduuuucccceeee((((1111))))     XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((00002222 AAAAuuuugggguuuusssstttt 1111999988889999))))     ppppbbbbmmmmrrrreeeedddduuuucccceeee((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           pbmreduce - read a portable bitmap and reduce it N times
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppbbbbmmmmrrrreeeedddduuuucccceeee [----ffffllllooooyyyydddd|----ffffssss|----tttthhhhrrrreeeesssshhhhoooolllldddd ] [----vvvvaaaalllluuuueeee _v_a_l] _N [_p_b_m_f_i_l_e]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           Reads a portable bitmap as input.  Reduces it by a factor of
  16.           _N, and produces a portable bitmap as output.
  17.  
  18.           _p_b_m_r_e_d_u_c_e duplicates a lot of the functionality of _p_g_m_t_o_p_b_m;
  19.           you could do something like ppppnnnnmmmmssssccccaaaalllleeee |||| ppppggggmmmmttttooooppppbbbbmmmm,,,, but
  20.           _p_b_m_r_e_d_u_c_e is a lot faster.
  21.  
  22.           _p_b_m_r_e_d_u_c_e can be used to "re-halftone" an image.  Let's say
  23.           you have a scanner that only produces black&white, not
  24.           grayscale, and it does a terrible job of halftoning (most
  25.           b&w scanners fit this description).  One way to fix the
  26.           halftoning is to scan at the highest possible resolution,
  27.           say 300 dpi, and then reduce by a factor of three or so
  28.           using _p_b_m_r_e_d_u_c_e.  You can even correct the brightness of an
  29.           image, by using the ----vvvvaaaalllluuuueeee flag.
  30.  
  31.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  32.           By default, the halftoning after the reduction is done via
  33.           boustrophedonic Floyd-Steinberg error diffusion; however,
  34.           the ----tttthhhhrrrreeeesssshhhhoooolllldddd flag can be used to specify simple
  35.           thresholding.  This gives better results when reducing line
  36.           drawings.
  37.  
  38.           The ----vvvvaaaalllluuuueeee flag alters the thresholding value for all
  39.           quantizations.  It should be a real number between 0 and 1.
  40.           Above 0.5 means darker images; below 0.5 means lighter.
  41.  
  42.           All flags can be abbreviated to their shortest unique
  43.           prefix.
  44.  
  45.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  46.           pnmenlarge(1), pnmscale(1), pgmtopbm(1), pbm(5)
  47.  
  48.      AAAAUUUUTTTTHHHHOOOORRRR
  49.           Copyright (C) 1988 by Jef Poskanzer.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.